//////////////////////////////////////////////////////////////////////////////////////////////
//	File			:	"BitmapFont.h"
//
//	Author			:	Mike Davis, Matt Stover, James Thornton, Keith Webster
//	
//	Project			:	TacWars
//
//	Last Modified	:	11/6/2013
//
//	Purpose			:	
//
//////////////////////////////////////////////////////////////////////////////////////////////
#pragma once



#define WIN32_LEAN_AND_MEAN
#include <Windows.h>

struct fontChar
{
	short x;
	short y;
	short width;
	short advance;

	fontChar() : x(0), y(0), width(0), advance(0)
	{}

};

class BitmapFont
{
public:

	BitmapFont	( TCHAR* _fontName);
	~BitmapFont(void);

	void Initialize	( void );
	void Shutdown	( void );

	void Draw(	const TCHAR* strOutput, int nX, int nY,
				float fScale, DWORD dwColor ) const;

private:
	int			imageID;

	fontChar	Chars[256];
	TCHAR*		fontName;
	int			fontHeight, spacePix, tabSpace;
};